//
//  AlgorithmConfig.h
//  ZXLSign
//
//  Created by zxl02 on 2020/11/12.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
typedef NS_CLOSED_ENUM(NSInteger, DigestAlgorithmMDType) {
    MDTypeMD2   =1  ,
    MDTypeMD4   =2  ,
    MDTypeMD5   =3  ,
};
typedef NS_CLOSED_ENUM(NSInteger, MDTypeBit) {
    MDTypeBit16   =16  ,
    MDTypeBit32   =32  ,
};

typedef NS_ENUM(NSInteger,DigestAlgorithmSHAType) {
    DigestAlgorithmTypeSHA1 =20,       //
    DigestAlgorithmTypeSHA224 =28,
    DigestAlgorithmTypeSHA256 =32,
    DigestAlgorithmTypeSHA384 =48,
    DigestAlgorithmTypeSHA512 =64,
};
@interface AlgorithmConfig : NSObject
@property(nonatomic,assign)DigestAlgorithmMDType  mdType;
@property(nonatomic,assign)MDTypeBit  mdTypebit;

@property(nonatomic,assign)DigestAlgorithmSHAType  SHAType;

//@property(nonatomic,assign)NSInteger successCode;
//@property(nonatomic,assign)NSInteger successCode;
//@property(nonatomic,assign)NSInteger successCode;

@end

NS_ASSUME_NONNULL_END
